<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>查看用户</title>
	<css file="__PUBLIC__/css/adduser.css"/>
    <jsconst/>
    <jquery/>
    <js file='__PUBLIC__/js/user.js'/>
</head>
<body>
	<h2 class='top'>
        <a href="{|U('addshow')}">添加用户</a>
    </h2>
    <table class="table2">
        <thead>
            <tr>
                <th width="5%"><input type="checkbox"/></th>
                <th width="8%">用户ID</th>
                <th width="20%">用户名</th>
                <th width='8%'>积分</th>
                <th width='8%'>锁定用户</th>
                <th  width="15%">操作</th>
            </tr>
        </thead>
        <tbody>
        <list from="$data" name="n">
            <tr>
                <td><input type="checkbox" aid='{$n.userid}'/></td>
                <td>{$n.userid}</td>
                <td>{$n.username}</td>
                <td>{$n.point}</td>
                <td>
                <if value="{$n.lock}==1">
                    <span class='lock locking' uid='{$n.userid}' lock='0'></span>
                <else>
                    <span class='unlock locking' uid='{$n.userid}' lock='1'></span>
                </if>
                </td>
                <td>
                    <a href="javascript:;">权限设置</a> |
                    <a href="javascript:;" uid={$n.userid}>禁止发言</a> |
                    <a href="#">禁止登陆</a>
                </td>
            </tr>
        </list>
        </tbody>
    </table>
    <div class="cancelall fl">
        <a href="javascript:;">反选</a>
        <a href="javascript:;" class='delarc_all'>删除</a>
    </div>
    <div class='page fl'>{$page}</div>
    <div class='clear'></div>
</body>
</html>